package com.yunxin.core.utils.infra.common.enums;

import com.yunxin.common.base.IBaseEnum;
import lombok.Getter;

/**
 * @author zero°
 * @since 2023-06-07
 */
@Getter
public enum LoanPeriodEnum implements IBaseEnum<Integer> {

    /**
     * 借款期限 0.无要求 1.借款3个月 2.借款6个月 3.借款9个月 4.借款12个月 5.借款24个月
     */
    NO_REQUIRED(0, "无要求"),
    LOAN_3MONTH(1, "3个月"),
    LOAN_6MONTH(2, "6个月"),
    LOAN_9MONTH(3, "9个月"),
    LOAN_12MONTH(4, "12个月"),
    LOAN_24MONTH(5, "24个月");

    private final Integer value;

    private final String label;


    LoanPeriodEnum(Integer value, String label) {
        this.value = value;
        this.label = label;
    }
}
